/*
 * @Description: 
 * @version: 
 * @Author: 171
 * @Date: 2022-09-04 11:35:44
 * @LastEditors: 171
 * @LastEditTime: 2022-09-04 13:09:06
 */

import mysql from 'mysql'

const config = require('./config').db // 获取数据库配置信息

export default mysql.createConnection(config) // mysql.createConnection 方法创建连接实例
